package by.myteam.gonki.bo;

import by.myteam.gonki.bo.car.SelectCar;
import by.myteam.gonki.info.Health;
import by.myteam.gonki.info.Points;
import by.myteam.gonki.info.Speedometer;
import by.myteam.gonki.info.Time;

public enum EBusinessObjects {
	ROAD(Road.INSTANCE), 
	CAR((IDrawable) SelectCar.INSTANCE.getCar()), 
	HEALTH(new Health()), 
	POINTS(new Points()), 
	TIME(new Time()),
	SPEEDOMETER(new Speedometer());

	private EBusinessObjects(IDrawable object) {
		this.setObject(object);
	}

	public IDrawable getObject() {
		return object;
	}

	public void setObject(IDrawable object) {
		this.object = object;
	}

	private IDrawable object;
}
